8246f749ddd991b272d23fe058186d5286a9f619,jbpm-simulation/src/main/java/org/jbpm/simulation/SimulationRunner.java,SimulationRunner,runSimulation,#String#String#number#number#boolean#Resource#,76
Before Change
.newKieSession( releaseId, null)
.end()
.addCommand(new SimulateProcessPathCommand(processId, context, path))
.addCommand( new SetVariableCommandFromLastReturn( StatefulKnowledgeSession.class.getName() ))
.addCommand(new DisposeCommand());
}
} else {
f.newStep(interval)
After Change
((BaseBatchFluent) sessionFluent).addCommand(new SimulateProcessPathCommand(processId, context, path));
// ((BaseBatchFluent) sessionFluent).addCommand(new SetVariableCommandFromLastReturn(StatefulKnowledgeSession.class.getName()));
((BaseBatchFluent) sessionFluent).addCommand(new DisposeCommand());
}
} else {
KieSessionFluent sessionFluent = f.after(interval)